package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.AreaAcademica;
import br.edu.fanor.esfinge.services.AreaAcademicaServiceRemote;

@Stateless
public class AreaAcademicaServiceImpl implements AreaAcademicaServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public AreaAcademica inserir(AreaAcademica area_academica) {
		em.persist(area_academica);
		return area_academica;
	}
	
	

}
